﻿namespace Entities
{
    /// <summary>
    /// 用户
    /// </summary>
    public partial class User : BaseEntity
    {
        /// <summary>
        /// 用户类型，1集团用户，2监管用户
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public int LoginUserType { get; set; }

        /// <summary>
        /// 登录用户的所属类型的ID，可能是集团ID，可能是监管部门ID
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public int LoginTypeID { get; set; }

        /// <summary>
        /// 角色IDs
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public List<int> RoleIDs { get; set; }

        /// <summary>
        /// 部门用户ID
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public int DepartmentUserID { get; set; }
    }
}
